<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>自动登陆</title>
</head>
<body>
<h1>登陆</h1>
<form action="/login" method="post">
    <div>
        用户名：<input type="text" name="username">
    </div>
    <div>
        密码：<input type="password" name="password">
    </div>
    <div>
        <label><input type="checkbox" name="remember-me"/>自动登陆</label>
        <button type="submit">立即登陆</button>
    </div>
</form>
</body>
</html>